package com.yvon.maple.service.auth.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @date: 2021/3/29 2:43 下午
 * @author: kerry
 */
@Component
@ConfigurationProperties(prefix = LdapDataProperties.PREFIX)
@Data
public class LdapDataProperties {

    public static final String PREFIX = "maple.ldap";

    private String searchBase;

    private String url;

    private String managerDn;

    private String managerPassword;

    private String searchFilter;

    public LdapAttribute attributes;

}